
const mongoose = require("../../../db/db");

/**
 * @description 系统设置/字典列表/字典详情
 */
const Schema = mongoose.Schema({
    // 字典编码 
    id: {
        type: String,
        require: true
    },
    //创建日期
    createDate: {
        type: Number,
    },
    //字典类型
    dictType: {
        type: String,
        require: true
    },
    label: {
        type: String,
        require: true
    },
    value: {
        type: String,
        require: true
    },
    sort: {
        type: Number,
        default: 1
    },
    colorType: {
        type: String,
    },
    cssClass: {
        type: String,
    },
    // 备注
    remark: {
        type: String,
    },
    //状态
    status: {
        type: String,
        default: "1"
    },

})
const TAB_DICT_TATA = mongoose.model("sec_tab_dict_data", Schema);
module.exports = TAB_DICT_TATA;